* {
  margin: 0;
  padding: 0;
}
ul li {
  list-style: none;
}
body {
  width: 100%;
  max-width: 640px;
  min-width: 320px;
  margin: 0 auto;
  font-size: 14px;
  font-family: -apple-system, Helvetica, sans-serif;
  color: #666;
  line-height: 1.5;
}
.app {
  height: 45px;
}
.app ul li {
  float: left;
  height: 45px;
  line-height: 45px;
  background-color: #333333;
  text-align: center;
  color: #fff;
}
.app ul li:nth-child(1) {
  width: 8%;
}
.app ul li:nth-child(1) img {
  width: 10px;
}
.app ul li:nth-child(2) {
  width: 10%;
}
.app ul li:nth-child(2) img {
  width: 30px;
  vertical-align: middle;
}
.app ul li:nth-child(3) {
  width: 57%;
}
.app ul li:nth-child(4) {
  width: 25%;
  background-color: #f63515;
}
/* 搜索 */
.search-wrap {
  position: fixed;
  width: 100%;
  min-width: 320px;
  max-width: 640px;
  height: 44px;
  overflow: hidden;
  z-index: 999;
}
.search-wrap .search-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 44px;
}
.search-wrap .search-btn::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 18px;
  background: url(../img/s-btn.png) no-repeat;
  background-size: 20px 18px;
  margin: 14px 0 0 15px;
}
.search-wrap .search {
  position: relative;
  height: 30px;
  margin: 7px 50px 0;
  border-radius: 15px;
  background: #fff;
}
.search-wrap .search .jd-icon {
  position: absolute;
  top: 8px;
  left: 15px;
  width: 20px;
  height: 15px;
  background: url(../img/jd.png) no-repeat;
  background-size: 20px 15px;
}
.search-wrap .search .jd-icon::after {
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  left: 25px;
  width: 1px;
  height: 15px;
  background-color: #ccc;
}
.search-wrap .search .sou {
  position: absolute;
  top: 8px;
  left: 45px;
  width: 18px;
  height: 15px;
  background: url(../img/jd-sprites.png) no-repeat -81px 0;
  background-size: 200px auto;
}
.search-wrap .serach-login {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 44px;
  text-align: center;
  line-height: 44px;
  color: #fff;
}
/*主体内容*/
.main-content .slider img {
  width: 100%;
}
.main-content .brand {
  border-radius: 15px 15px 0 0;
  overflow: hidden;
}
.main-content .brand div {
  width: 33.33%;
  float: left;
}
.main-content .brand div img {
  width: 100%;
}
.main-content .nav {
  padding-top: 5px;
}
.main-content .nav a {
  float: left;
  width: 20%;
  text-align: center;
}
.main-content .nav a img {
  width: 40px;
  margin: 10px 0;
}
.main-content .news {
  margin-top: 10px;
}
.main-content .news a {
  float: left;
  box-sizing: border-box;
}
.main-content .news a:nth-child(1) {
  width: 50%;
}
.main-content .news a:nth-child(n + 2) {
  width: 25%;
  border-left: 1px solid #ccc;
}
.main-content .news img {
  width: 100%;
}
